home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.c
- Path: uu4news.netcom.com!zodiac!szh
- From: szh@zcon.com (Syed Zaeem Hosain)
- Subject: Re: && operator question
- Message-ID: <1996Feb15.174541.13378@zcon.com>
- Sender: szh@zcon.com (Syed Zaeem Hosain)
- Nntp-Posting-Host: zodiac
- Reply-To: szh@zcon.com
- Organization: Z Consulting Group
- References: <4fu69a$b7e@sphinx.Gsu.EDU>
- Date: Thu, 15 Feb 1996 17:45:41 GMT
-
- In article <4fu69a$b7e@sphinx.Gsu.EDU>, gs01maj@panther.Gsu.EDU (Matthew A Johnson) writes:
- >if(expression1 && expression2)
- > some statement;
- >
- >My question is, if expression1 is false will expression2 get evaluated at
- >all?
-
- No.
-
- This is pretty straightforward, and I would think that the answer can
- be found in any decent book on ANSI C. Also look in the comp.lang.c FAQ
- and look at questions 3.4 and 3.5 and their answers.
-
- Z
-
- --
- -------------------------------------------------------------------------
- | Syed Zaeem Hosain P. O. Box 610097 (408) 441-7021 |
- | Z Consulting Group San Jose, CA 95161 szh@zcon.com |
- -------------------------------------------------------------------------
-